package com.buka.user.service;

import com.buka.server.pojo.UserControl;
import com.github.pagehelper.Page;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface UserService {

    List<UserControl> findAll();

    Page<UserControl> findByPage(Integer Page,Integer Size);

    int OpenOrStopBrand(Long id);

    int update(UserControl userControl);

    int addAndFile(UserControl userControl, MultipartFile file);

    int delete(Long id);
     int add(UserControl userControl);

     int Search();

     int login(UserControl userControl);
     List<UserControl> findList(UserControl userControl);
}
